package instance
{
	import view.GameObject;

	public class ActivePolicy
	{
		public function ActivePolicy()
		{
		}
		
		public static function cloud(gameObj:GameObject,dt:Number):void {
			if (gameObj.position.x <0 )
				gameObj.shutDown();
			
			trace("................"+dt);
			gameObj.position.x -= 5;//175*dt;
		}
		
		public static function pandaRun(gameObj:GameObject,dt:Number):void {
			
		}
		
		public static function pandaFlop(gameObj:GameObject,dt:Number):void {
			gameObj.position.y += .5;
		}
		
		public static function pandaJump(gameObj:GameObject,dt:Number):void {
			gameObj.position.y -= .5;
		}
	}
}